package com.leesche.zcsp.node.web.service.impl;

import com.leesche.zcsp.node.web.dao.SysUserBankCardDao;
import com.leesche.zcsp.node.web.model.SysUserBankCard;
import com.leesche.zcsp.node.web.model.SysUserBankCardCriteria;
import com.leesche.zcsp.node.web.service.SysUserBankCardService;
import com.leesche.zcsp.node.web.service.impl.data.read.QuerySysUserBankCardCondition;
import com.leesche.zcsp.node.web.service.impl.data.read.SysUserBankCardDto;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

/** 
 * @Title: SysUserBankCardServiceImpl.java
 * @Description: TODO( 用户银行卡service实现类 )
 * @author Jerry Chan
 * @date 2016/11/30 11:11
 * @version V1.0 
 * ************ * Jerry Chan: * 2016/11/30 11:11: * 创建该类并实现业务逻辑: *********  
 */
@Service
@Transactional
public class SysUserBankCardServiceImpl extends
        BaseServiceImpl<SysUserBankCard, SysUserBankCardCriteria, SysUserBankCardDto, QuerySysUserBankCardCondition, Long>
        implements SysUserBankCardService {

    @Autowired
    SysUserBankCardDao sysUserBankCardDao;

    @Autowired
    public void setBaseDao(SysUserBankCardDao sysUserBankCardDao) {
        super.setBaseDao(sysUserBankCardDao);
    }

    @Override
    public List<SysUserBankCard> findUserBankCardByCondition(QuerySysUserBankCardCondition condition) {
        return sysUserBankCardDao.selectUserBankCardByCondition(condition);
    }
}
